SELECT Id FROM new_searchtable where (town like 'Grantham' or Locale like 'Eastman%') and (type = 'R' or type ='O') AND list_price BETWEEN '0' AND '30000000' ORDER BY list_price Desc Grantham Eastman NH Homes page 10